package com.tbit.uqbike.client.dao.capital;

import com.tbit.common.entity.TransationLog;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: chen
 * @Description: 车辆借还车位置
 * @Date: 创建于 9:06 2021/5/26
 */
public interface TransationLogDao {


    /**
     * 通过编号获取
     *
     * @param orderNO
     * @return
     */
    TransationLog getByOrderNO(String orderNO);

    void updateRefundMoneyByOrderNO(@Param("orderNO") String orderNO, @Param("refundMoney") Long refundMoney);

    /**
     * 更新退款状态以及时间
     *
     * @param transationLog
     */
    void edit(TransationLog transationLog);
}
